Method

GimpImageget_selected_paths

unstable since: 3.0.0

Declaration [src]

GimpPath**
gimp_image_get_selected_paths (
  GimpImage* image,
  gint* num_paths
)

Description [src]

Returns the specified image’s selected paths.

This procedure returns the list of selected paths in the specified image.

Available since: 3.0.0

Parameters

num_paths

Type: gint*

The number of selected paths in the image.

The argument will be set by the function.

Return value

Type: An array of GimpPath*

     The list of selected paths in the image.
     The returned value must be freed with g_free().
The length of the array is in the num_paths argument.
The caller of the method takes ownership of the returned data container, but not the data inside it.